/**
 * 
 */
package org.hive.testserver.domain.model.schedule;

import org.hive.testserver.domain.model.Test;

public class ScheduledTest {
	private Test test;
	private ScheduleReason reason;

	public ScheduledTest(ScheduleReason reason) {
		this(null, reason);
	}
	
	public ScheduledTest(Test test, ScheduleReason reason) {
		super();
		this.test = test;
		this.reason = reason;
	}
	
	public Test testOrNull() {
		return test;
	}
	
	public ScheduleReason reason() {
		return reason;
	}
}